﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListVolunteeringOpportunity.ascx.cs" 
Inherits="AB.ServiceDirectory.Design.WebUserControls.Frame.ListVolunteeringOpportunity" %>
<script type="text/javascript">
    function Confirm_Active() {
        return confirm('Do you want active this Colunteer');
    }
</script>
<asp:Panel ID="PanelDirectorateList" runat="server" Visible="true">
    <div class="titleh">
        <h3 class="sorting_range">
            <asp:LinkButton ID="LinkButtonAll" runat="server" CssClass="hg-blue" CommandName="all"
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">All</asp:LinkButton>
            <asp:LinkButton ID="LinkButton09" runat="server" CommandName="09" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">0-9</asp:LinkButton>
            <asp:LinkButton ID="LinkButtonAE" runat="server" CommandName="ae" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">A B C D E</asp:LinkButton>
            <asp:LinkButton ID="LinkButtonFJ" runat="server" CommandName="fj" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">F G H I J</asp:LinkButton>
            <asp:LinkButton ID="LinkButtonKN" runat="server" CommandName="kn" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">K L M N </asp:LinkButton>
            <asp:LinkButton ID="LinkButtonOR" runat="server" CommandName="or" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">O P Q R</asp:LinkButton>
            <asp:LinkButton ID="LinkButtonSV" runat="server" CommandName="sv" 
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">S T U V</asp:LinkButton>
            <asp:LinkButton ID="LinkButtonWZ" CssClass="last" runat="server" CommandName="wz"
                OnCommand="FilterByLetters_Command" CausesValidation="False" 
                ClientIDMode="Static">W X Y Z</asp:LinkButton>
            <span class="right">
                <asp:LinkButton ID="LinkButtonCreate" runat="server" CssClass="hg-blue" PostBackUrl="~/Premises/VolunteeringDetails.aspx"
                onclick="LinkButtonCreate_Click" CausesValidation="False">Create</asp:LinkButton>
                <asp:CheckBox ID="CheckBoxInactive" runat="server" Text="Include In-active" AutoPostBack="True" />
            </span>
        </h3>
    </div>
    <asp:GridView  ID="GridViewDirectorate"
        CssClass="tablesorter" runat="server"
        PageSize="15" AllowSorting="True">
        <Columns>
            <asp:TemplateField HeaderText="Contact" SortExpression="ContactName">
                <ItemTemplate>
                    <a href="">Contact</a>
                </ItemTemplate>
                <HeaderStyle CssClass="header" Width="157px"/>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Purpose" SortExpression="Purpose">
                <ItemTemplate>
                    Volunteer Purpose 1
                </ItemTemplate>
                <HeaderStyle CssClass="header" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Number" SortExpression="Number">
                <ItemTemplate>
                    4
                </ItemTemplate>
                <HeaderStyle CssClass="header" Width="150px"/>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Start Date" SortExpression="StartDate">
                <ItemTemplate>
                   11/19/1991
                </ItemTemplate>
                <HeaderStyle CssClass="header" Width="112px"/>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="End Date" SortExpression="EndDate">
                <ItemTemplate>
                   11/19/1992
                </ItemTemplate>
                <HeaderStyle CssClass="header" Width="112px"/>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Is Active?" SortExpression="IsActive">
                <ItemTemplate>
                    Yes
                </ItemTemplate>
                <HeaderStyle CssClass="header" Width="85px"/>
            </asp:TemplateField>
        </Columns>
        <EmptyDataTemplate>
                        <blockquote>There are no items to show.</blockquote>
                    </EmptyDataTemplate>
        <PagerStyle CssClass="pagination_table"></PagerStyle>
    </asp:GridView>
</asp:Panel>